|
|
I figured it was time I got my act together and finished off the patch for
pov I was writing. So I'll probably be posting samples occaisionally for the
next little while. Anyway I've implemented two new lighting models to
compliment the diffuse lighting model, Oren-Nayar (Right Teapot) and
Minnaert (Left Teapot). The Oren-Nayar lighting model does a fairly good job
of rendering surfaces that are supposed to appear rough such as clay. The
Minnaert lighting model does a good job of producing an effect similar to
velvet - also handy for metals. Anyway in the images all three teapots have
exactly identical finishes and pigments the only difference is the lighting
model (Left = Minnaert, Middle = Diffuse (POV-Ray Default), Right =
Oren-Nayar). Comments? Suggests? Other lighting models people think I should
add? Oh and there is a tiny little bug in the Oren-Nayar shader which I
should have worked out shortly, and I plan on adding an anisotropic lighting
model as well.
--
Kevin
http://www.geocities.com/qsquared_1999/
#macro _(r)#if(r<12)#local i=asc(substr(
"oqshilacefg",r,1))-97;disc{<mod(i,7)-3,
div(i,7)-1,6>,z,.4pigment{rgb 10}}_(r+1)
#end#end _(1)//KL
Post a reply to this message
Attachments:
Download 'shaders-002.jpg' (52 KB)
Download 'shaders-001.jpg' (117 KB)
Preview of image 'shaders-002.jpg'
Preview of image 'shaders-001.jpg'
|
|